<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册您的账号</title>
    <!--框架vue element-->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <script src="https://unpkg.com/vue/dist/vue.js"></script>
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>
    <script src="/js/jquery-3.3.1.min.js"></script>
    <link rel="stylesheet" href="/css/myorder.css">
    <script src="/js/myorder.js"></script>
</head>
<body>
<div id="app" style="height: 100%;">
    <div class="left">
        <img id="pic_change1" src="/image/zhuce1.jpg" style="height: 100% ; transition: opacity 1s ; opacity: 1 ; position: absolute">
        <img id="pic_change2" src="/image/zhuce2.jpg" style="height: 100% ; transition: opacity 1s ; opacity: 0 ; position: absolute">
        <img id="pic_change3" src="/image/zhuce3.jpg" style="height: 100% ; transition: opacity 1s ; opacity: 0 ; position: absolute">
    </div>
    <div class="center">
        <div class="denglu">
            <div class="form">
                <span style="margin-left: 5% ; font-size: 30px">您可以修改您的个人信息（但无法修改地区信息）</span>
                <el-form  id="form1" ref="form" :rules="rules2" :model="form" label-width="120px" style="margin-top: 30px ; opacity: 1 ; transition: opacity .5s ; position: absolute ; width: 100% ; z-index: 10">
                    <el-form-item label="输入您的密码" prop="oldpass">
                        <el-input type="password" v-model="form.oldpass" autocomplete="off"></el-input>
                    </el-form-item>
                    <el-form-item label="输入新密码" prop="pass">
                        <el-input type="password" v-model="form.pass" autocomplete="off"></el-input>
                    </el-form-item>
                    <el-form-item label="确认密码" prop="checkPass">
                        <el-input type="password" v-model="form.checkPass" autocomplete="off"></el-input>
                    </el-form-item>
                    <el-form-item label="您的姓名" prop="name" :rules="[{ required: true, message: '姓名不能为空'}]">
                        <el-input v-model="form.name"></el-input>
                    </el-form-item>
                    <el-form-item
                        label="手机号"
                        prop="phone"
                        :rules="[{ required: true, message: '手机号不能为空'},{ type: 'number', message: '手机号必须为数字值'}]">
                        <el-input v-model.number="form.phone" autocomplete="off"></el-input>
                    </el-form-item>
                    <el-form-item>
                        <el-button type="primary" @click="onSubmit('form')">修改信息</el-button>
                        <el-button @click="resetForm('form')">取消</el-button>
                    </el-form-item>
                </el-form>
            </div>
        </div>
    </div>
    <div style="position: fixed ; width: 15% ; top: 3% ; right: 0">
        <a href="/"><el-tag type="success">主页</el-tag></a>
        <a @click="open" style="margin-left: 3%"><el-tag type="success" >帮助</el-tag></a>
    </div>
    <img src="/image/LOGO.png" style="position: fixed ; width: 20% ; right: 5% ; top: 10%;"/>
</div>
</body>
</html>